package com.cdl;

/**
 * @author cdl
 * @date 2025/10/13
 */
public class MagicPotion implements MagicItem<Double>{

    private String description;
    public MagicPotion(String description){
        this.description = description;
    }


    @Override
    public void use(Double target) {
        System.out.println("kkdf " + description + "dfdf" + target.toString());
    }

    @Override
    public String getDescription() {
        return description;
    }
}
